﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Presentation/Main1.Master" AutoEventWireup="true" CodeBehind="Registrationform1.aspx.cs" Inherits="YAMN_Cinemas.Presentation.Registrationform1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style4
        {
            width: 300px;
            background-color: #FF0000;
            height: 28px;
        }
        .style5
        {
            background-color: #FF0000;
            height: 28px;
        }
        .style6
        {
            height: 28px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <tr>
        <td style="margin-left: 120px">
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="Red" 
        style="text-align: center" Text="Registration Form" Font-Size="XX-Large"></asp:Label>
    <table class="style1">
        <tr>
            <td class="style4">
                <asp:Label ID="Label2" runat="server" Text="UserName:"></asp:Label>
            </td>
            <td class="style5">
                <asp:TextBox ID="txt_UserName" runat="server" 
                    ontextchanged="TextBox1_TextChanged" style="margin-top: 2px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txt_UserName" ErrorMessage="Please enter User Name" 
                    ForeColor="Black" ToolTip="Please enter User Name">*</asp:RequiredFieldValidator>
            </td>
            <td class="style6">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                <asp:Label ID="Label3" runat="server" Text="Password:"></asp:Label>
            </td>
            <td class="style3">
                <asp:TextBox ID="txt_Password" runat="server" ontextchanged="TextBox1_TextChanged" 
                    style="margin-top: 2px"></asp:TextBox>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="txt_Password" ControlToValidate="txt_ConfirmPSWRD" 
                    ErrorMessage="Passwords mismatch-Please re-enter password" ForeColor="Black" 
                    ToolTip="Passwords mismatch-Please re-enter password">*</asp:CompareValidator>
            </td>
           
        </tr>
        <tr>
            <td class="style2">
                <asp:Label ID="Label4" runat="server" Text="Confirm Password:"></asp:Label>
            </td>
            <td class="style3">
                <asp:TextBox ID="txt_ConfirmPSWRD" runat="server" ontextchanged="TextBox1_TextChanged" 
                    style="margin-top: 2px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style4">
                <asp:Label ID="Label5" runat="server" Text="Email:"></asp:Label>
            </td>
            <td class="style5">
                <asp:TextBox ID="txt_Email" runat="server" ontextchanged="TextBox1_TextChanged" 
                    style="margin-top: 2px"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="txt_Email" ErrorMessage="Please enter valid email" 
                    ForeColor="Black" ToolTip="Please enter valid email" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
            </td>
        </tr>
        </table>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:ValidationSummary 
                ID="ValidationSummary1" runat="server" />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label 
                ID="lbl_Status" runat="server" Text="Label"></asp:Label>
            &nbsp;&nbsp;
    <asp:Button ID="Button1" runat="server" style="margin-left: 61px" Text="Submit" 
        Width="79px" onclick="Button1_Click" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button 
                ID="Button2" runat="server" onclick="Button2_Click" Text="Cancel" 
                CausesValidation="False" />
        </td>
    </tr>
 </asp:Content>
